package com.graduation_design.modules.search.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.graduation_design.modules.search.document.EsProductDoc;

import java.util.List;

public interface AppSearchService {
    int initEsData();

    Page<EsProductDoc> search(String kw, int current, int size);

    EsProductDoc create(Long productId);

    void delete(List<Long> productIds);

}
